package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

/**
 * @author: linli
 */
@Data
@JsonInclude
public class MassagistOnoffDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long massagistId;

    private String name;

    private String workPhoto;

    private String phone;

    /** 门店名称 */
    private String shopName;

    /**
     * 上线时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date online;
    /**
     * 下线时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date offline;

}
